package BookSystem;
// 编号、书名、单价、库存
public class Book {
    private int id;
    private String  name;
    private double price;
    private int storage;
    public Book(int id,String name,double price,int storage) {
        this.id = id;
        this.name=name;
        this.price=price;
        this.storage=storage;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id=id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name=name;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice() {
        this.price=price;
    }
    public int getStorage() {
        return storage;
    }


}
